package lormi.meipin.common;

public class StaticEnum {

	/**
	 * 薪资区间
	 * @author ThreeFeng
	 */
	public static int[] getSalaryLevel(Integer s){
		int[] salary = new int[2];
		switch (s) {
		case 1:
			salary[0]=1000;
			salary[1]=3000;
			break;
		case 2:
			salary[0]=3000;
			salary[1]=5000;
			break;
		case 3:
			salary[0]=5000;
			salary[1]=8000;
			break;
		case 4:
			salary[0]=8000;
			salary[1]=12000;
			break;
		case 5:
			salary[0]=12000;
			salary[1]=13000;
			break;
		default:
			break;
		}
		return salary;
	}
	
	/**
	 * 经验区间
	 * @author ThreeFeng
	 */
	public static int[] getExperienceLevel(Integer e){
		int[] salary = new int[2];
		switch (e) {
		case 1:
			salary[0]=0;
			salary[1]=1;
			break;
		case 2:
			salary[0]=1;
			salary[1]=3;
			break;
		case 3:
			salary[0]=3;
			salary[1]=5;
			break;
		case 4:
			salary[0]=5;
			salary[1]=99;
			break;
		default:
			break;
		}
		return salary;
	}
	
}
